Optimal. Leaf size=73 \[ -\frac {a^3 \csc ^7(c+d x)}{7 d}-\frac {a^3 \csc ^6(c+d x)}{2 d}-\frac {3 a^3 \csc ^5(c+d x)}{5 d}-\frac {a^3 \csc ^4(c+d x)}{4 d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.07, antiderivative size = 73, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.111, Rules used = {2833, 12, 43} \[ -\frac {a^3 \csc ^7(c+d x)}{7 d}-\frac {a^3 \csc ^6(c+d x)}{2 d}-\frac {3 a^3 \csc ^5(c+d x)}{5 d}-\frac {a^3 \csc ^4(c+d x)}{4 d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 43
Rule 2833
Rubi steps
\begin {align*} \int \cot (c+d x) \csc ^7(c+d x) (a+a \sin (c+d x))^3 \, dx &=\frac {\operatorname {Subst}\left (\int \frac {a^8 (a+x)^3}{x^8} \, dx,x,a \sin (c+d x)\right )}{a d}\\ &=\frac {a^7 \operatorname {Subst}\left (\int \frac {(a+x)^3}{x^8} \, dx,x,a \sin (c+d x)\right )}{d}\\ &=\frac {a^7 \operatorname {Subst}\left (\int \left (\frac {a^3}{x^8}+\frac {3 a^2}{x^7}+\frac {3 a}{x^6}+\frac {1}{x^5}\right ) \, dx,x,a \sin (c+d x)\right )}{d}\\ &=-\frac {a^3 \csc ^4(c+d x)}{4 d}-\frac {3 a^3 \csc ^5(c+d x)}{5 d}-\frac {a^3 \csc ^6(c+d x)}{2 d}-\frac {a^3 \csc ^7(c+d x)}{7 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 73, normalized size = 1.00 \[ -\frac {a^3 \csc ^7(c+d x)}{7 d}-\frac {a^3 \csc ^6(c+d x)}{2 d}-\frac {3 a^3 \csc ^5(c+d x)}{5 d}-\frac {a^3 \csc ^4(c+d x)}{4 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.63, size = 93, normalized size = 1.27 \[ -\frac {84 \, a^{3} \cos \left (d x + c\right )^{2} - 104 \, a^{3} + 35 \, {\left (a^{3} \cos \left (d x + c\right )^{2} - 3 \, a^{3}\right )} \sin \left (d x + c\right )}{140 \, {\left (d \cos \left (d x + c\right )^{6} - 3 \, d \cos \left (d x + c\right )^{4} + 3 \, d \cos \left (d x + c\right )^{2} - d\right )} \sin \left (d x + c\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.19, size = 56, normalized size = 0.77 \[ -\frac {35 \, a^{3} \sin \left (d x + c\right )^{3} + 84 \, a^{3} \sin \left (d x + c\right )^{2} + 70 \, a^{3} \sin \left (d x + c\right ) + 20 \, a^{3}}{140 \, d \sin \left (d x + c\right )^{7}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.19, size = 49, normalized size = 0.67 \[ \frac {a^{3} \left (-\frac {1}{2 \sin \left (d x +c \right )^{6}}-\frac {3}{5 \sin \left (d x +c \right )^{5}}-\frac {1}{7 \sin \left (d x +c \right )^{7}}-\frac {1}{4 \sin \left (d x +c \right )^{4}}\right )}{d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.38, size = 56, normalized size = 0.77 \[ -\frac {35 \, a^{3} \sin \left (d x + c\right )^{3} + 84 \, a^{3} \sin \left (d x + c\right )^{2} + 70 \, a^{3} \sin \left (d x + c\right ) + 20 \, a^{3}}{140 \, d \sin \left (d x + c\right )^{7}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 8.66, size = 56, normalized size = 0.77 \[ -\frac {35\,a^3\,{\sin \left (c+d\,x\right )}^3+84\,a^3\,{\sin \left (c+d\,x\right )}^2+70\,a^3\,\sin \left (c+d\,x\right )+20\,a^3}{140\,d\,{\sin \left (c+d\,x\right )}^7} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________